package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 财务实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Bill")
public class Bill extends BaseModel {
    @PrimaryKey
    @Field("BillCode")
    private String billCode;
    @Field("RealName")
    private String realName;
    @Field("Year")
    private String year;
    @Field("Month")
    private String month;
    @Field("SiteCode")
    private String siteCode;
    @Field("SiteName")
    private String siteName;
    @Field("StreetCode")
    private String streetCode;
    @Field("StreetName")
    private String streetName;
    @Field("ReligionCode")
    private String religionCode;
    @Field("ReligionName")
    private String religionName;
    @Field("VillageCode")
    private String villageCode;
    @Field("VillageName")
    private String villageName;
    @Field("Content")
    private String content;
    @Field("RevenueData")
    private String revenueData;
    @Field("OutPutData")
    private String outPutData;
    @Field("Account")
    private String account;
    @Field("Time")
    private LocalDateTime time;
    @Field("MonthTotalRevenue")
    private BigDecimal monthTotalRevenue;//本月累计收入
//    @Field("TotalRevenue")
//    private BigDecimal totalRevenue;//累计收入
    @Field("MonthTotalOutPut")
    private BigDecimal monthTotalOutPut;//本月累计支出
//    @Field("TotalOutPut")
//    private BigDecimal totalOutPut;//累计支出
    @Field("DutiesCode")
    private String dutiesCode;//上报人权限编码
}
